package Test01;

public class Tax {
    public String name;
    public Tax(){}
    public Tax(String name){
        this.name = name;
    }
    public void punish(People people,Accident accident,Type type){
        System.out.println(this.name + "因" + people.name + accident.name + type.name + "处以惩罚" );
    }

}
